package com.mapper.medical;

import com.entity.DrugAll;
import com.entity.DrugOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StockMapper {

    List<DrugAll> findAllDrug(@Param("drugName")String drugName);

    List<DrugAll> findDrugByName(@Param("drugName")String drugName);

    Integer updatePrice(@Param("name")String name,@Param("allStock")String allStock, @Param("price")int price);

    List<DrugOrder> findAllOrder(@Param("drugName")String drugName);

}
